package com.jiang.text;

import com.jiang.entity.Admin;
import io.undertow.util.Methods;


import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Arrays;


public class Classforname {
    public static void main(String[] args) throws ClassNotFoundException {

        // Field[] files= Class.forName("com.jiang.entity.Admin").getDeclaredFields();
        // System.out.println(Arrays.toString(files));
        Method[] methods = Class.forName("com.jiang.entity.Admin").getDeclaredMethods();
        System.out.println(Arrays.toString(methods));

    }
}
